package com.cgnpc.scp.sri.capacitybuilding.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;

@TableName("tbl_sri_capacitybuilding_phase_progress")
public class CapacityBuildingPhaseProgress {
    private String id;

    private String phaseId;

    private String stageProgress;

    private String stageResultFileId;

    private String processStatus;

    private Date processFinalTime;

    private String procInstId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPhaseId() {
        return phaseId;
    }

    public void setPhaseId(String phaseId) {
        this.phaseId = phaseId == null ? null : phaseId.trim();
    }

    public String getStageProgress() {
        return stageProgress;
    }

    public void setStageProgress(String stageProgress) {
        this.stageProgress = stageProgress == null ? null : stageProgress.trim();
    }

    public String getStageResultFileId() {
        return stageResultFileId;
    }

    public void setStageResultFileId(String stageResultFileId) {
        this.stageResultFileId = stageResultFileId == null ? null : stageResultFileId.trim();
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus == null ? null : processStatus.trim();
    }

    public Date getProcessFinalTime() {
        return DateUtil.cloneNewDate(processFinalTime);
    }

    public void setProcessFinalTime(Date processFinalTime) {
        this.processFinalTime = DateUtil.cloneNewDate(processFinalTime);
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId == null ? null : procInstId.trim();
    }

    @TableField(exist = false)
    private String StageResultFileName;

    public String getStageResultFileName() {
        return StageResultFileName;
    }

    public void setStageResultFileName(String stageResultFileName) {
        StageResultFileName = stageResultFileName;
    }
}